1409dd78126a52a8136cd24c2240a8d43ef42068,compiler/cli/src/org/jetbrains/jet/cli/js/K2JSCompiler.java,K2JSCompiler,doExecute,#K2JSCompilerArguments#MessageCollector#Disposable#,76

Before Change



        ClassPathLibrarySourcesLoader sourceLoader = new ClassPathLibrarySourcesLoader(project);
        List<JetFile> sourceFiles = sourceLoader.findSourceFiles();
        environmentForJS.getSourceFiles().addAll(sourceFiles);

        if (arguments.verbose) {
            reportCompiledSourcesList(messageCollector, environmentForJS);

After Change


        JetCoreEnvironment environmentForJS = JetCoreEnvironment.createForProduction(rootDisposable, configuration);

        Project project = environmentForJS.getProject();
        List<JetFile> sourcesFiles = environmentForJS.getSourceFiles();

        ClassPathLibrarySourcesLoader sourceLoader = new ClassPathLibrarySourcesLoader(project);
        List<JetFile> additionalSourceFiles = sourceLoader.findSourceFiles();